﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MediaScraper
{
    public interface IMediaAgent
    {
        VideoInfo GetInfoByFile(string filePath, List<CultureInfo> subtitleCultures);
        VideoInfo GetInfoByFileName(string fileName, List<CultureInfo> subtitleCultures);
        /// <summary>
        /// Downloads the subtitle and returns destination path.
        /// </summary>
        /// <param name="url">The URL.</param>
        /// <param name="path">The path without file name and extension.</param>
        /// <param name="fileName">Name of the file.</param>
        /// <returns></returns>
        string DownloadSubtitle(Uri url, string path, string fileName);
    }
}
